package com.takanafu.haru.system{
	public class ApplicationManager implements IApplicationManager{
		private static var instance:IApplicationManager;
		private static var methodMap:Object = {};
		
		public static function getInstance():IApplicationManager{
			if(!instance){
				instance = new ApplicationManager();
			}
			
			return instance;
		}

		public function ApplicationManager(){
			super();
		}
		
		public function registMethod(methodName:String,func:Function):void{
			var f:Function = methodMap[methodName];
			
			if(!f){
	            methodMap[methodName] = func;
			}
		}
		
	}
}